package com.fc.service;

import java.util.Date;
import java.util.List;

import com.fc.entities.FoodJournal;
import com.fc.entities.User;

/**
 * 
 * @author aacs
 * 
 */
public interface FoodJournalService extends BaseService<FoodJournal> {
	List<FoodJournal> findAllByDate(Date date);

	List<FoodJournal> findAllByUser(User user);

	int getSumCalorie(Date date);

	int getSumProtein(Date date);

	int getSumCarbohydrate(Date date);

	int getSumFat(Date date);

	int getSumFiber(Date date);

}
